<?php

/**
 * Project:     Framework G
 * File:        gvar.php
 * 
 * For questions, help, comments, discussion, etc., please join to the
 * website www.frameworkg.com
 * 
 * @link http://www.frameworkg.com/
 * @copyright 2012-12-01
 * @author Group Framework G  <info at frameworkg dot com>
 * @version 1.2
 */
 
$gvar=array();

//messages
$gvar['m_user_empty'] = "The user can't be empty";
$gvar['m_password_empty'] = "The password can't be empty";
$gvar['m_incorrect_login'] = "The username or password you entered is incorrect";
$gvar['m_correct_login'] = "Login Successful";
$gvar['m_correct_logout'] = "Logout Complete";
$gvar['m_correct_insert'] = "Element added satisfactory";
$gvar['m_correct_update'] = "Element update satisfactory";
$gvar['m_correct_delete'] = "Element deleted satisfactory";

//links and names
$gvar['l_global'] = C_L_GLOBAL;
$gvar['n_global'] = C_N_GLOBAL;

$gvar['n_login'] = "Login";
$gvar['n_logout'] = "Logout";

$gvar['l_index'] = $gvar['l_global']."index.php";
$gvar['n_index'] = "Inicio";
$gvar['l_contact'] = $gvar['l_global']."contact.php";
$gvar['n_contact'] = "Contacto";

$gvar['l_admin'] = $gvar['l_global']."admin/";
$gvar['n_admin'] = "Admin";
$gvar['l_admin_index'] = $gvar['l_admin']."index.php";
$gvar['n_admin_index'] = "Admin";
$gvar['l_admin_creator'] = $gvar['l_admin']."creator.php";
$gvar['n_admin_creator'] = "Creator";
$gvar['l_admin_control'] = $gvar['l_admin']."control/";
$gvar['n_admin_control'] = "Control";

$gvar['l_admin_control_user'] = $gvar['l_admin_control']."user.php";
$gvar['n_admin_control_user'] = "user";

$gvar['l_admin_control_categoria'] = $gvar['l_admin_control']."categoria.php";
$gvar['n_admin_control_categoria'] = "categoria";

$gvar['l_admin_control_producto'] = $gvar['l_admin_control']."producto.php";
$gvar['n_admin_control_producto'] = "producto";

$gvar['l_admin_control_noticia'] = $gvar['l_admin_control']."noticia.php";
$gvar['n_admin_control_noticia'] = "noticia";

// -----------Vivero Paz Verde------------
$gvar['l_registrar_categoria'] = $gvar['l_global']."registrar_categoria.php";
$gvar['n_registrar_categoria'] = "Registrar categoria";
$gvar['l_registrar_producto'] = $gvar['l_global']."registrar_producto.php";
$gvar['n_registrar_producto'] = "Registrar producto";
$gvar['l_consultar_producto'] = $gvar['l_global']."consultar_producto.php";
$gvar['n_consultar_producto'] = "Productos";
$gvar['l_publicar_noticia'] = $gvar['l_global']."publicar_noticia.php";
$gvar['n_publicar_noticia'] = "Publicar Noticia";
$gvar['l_consultar_noticia'] = $gvar['l_global']."consultar_noticia.php?option=consultar";
$gvar['n_consultar_noticia'] = "Consultar Noticia";

//----------------------------------------

?>